#ifndef _FLOATOBJ_H_CSEAPI_
#define _FLOATOBJ_H_CSEAPI_

class CSE_IMPEXP_IN TFloatObj
{
private:
    TDouble m_data;

public:
    TFloatObj();
    TFloatObj(const TFloatObj& f);
    TFloatObj(TDouble f);
    ~TFloatObj();

    TFloatObj& operator=(const TFloatObj& f);
    TFloatObj& operator=(TDouble f);

    operator TDouble() const;

    TFloatObj& operator++();          // prefix increment
    TFloatObj& operator++(int);       // postfix increment
    TFloatObj& operator--();          // prefix decrement
    TFloatObj& operator--(int);       // postfix decrement

    void operator*=(TDouble f);
    void operator/=(TDouble f);
    void operator+=(TDouble f);
    void operator-=(TDouble f);
};

#endif
